{% if "measurements_variable_amount" in dict_options and dict_options['measurements_variable_amount'] %}

<div class="col-auto">
  {{form.num_channels.label(class_='control-label')}}
  <div>
    {{form.num_channels(class_='form-control', value=table_device_measurements.query.filter(table_device_measurements.device_id == each_device.unique_id).count(), **{'title': _('Number of measurements')})}}
  </div>
</div>

{% endif %}
